package com.whmnx.base.bean;

/**
 * author : huang
 * date   : 2020/10/29 0029 16:53
 * version: 1.0
 */
public class WeixinBean {
    /**
     * payType : 2
     * sign : {"appId":"wx5f6e966340cbc203","partnerId":"1602853969","prepayId":"wx29165226346618092f17e2b3978ec30000","nonceStr":"3936173885","timeStamp":"1603961546","packageValue":"Sign=WXPay","sign":"338DD318A3727EA607B7D79EAF334977"}
     */

    private int payType;
    private SignBean sign;

    public int getPayType() {
        return payType;
    }

    public void setPayType(int payType) {
        this.payType = payType;
    }

    public SignBean getSign() {
        return sign;
    }

    public void setSign(SignBean sign) {
        this.sign = sign;
    }

    public static class SignBean {
        /**
         * appId : wx5f6e966340cbc203
         * partnerId : 1602853969
         * prepayId : wx29165226346618092f17e2b3978ec30000
         * nonceStr : 3936173885
         * timeStamp : 1603961546
         * packageValue : Sign=WXPay
         * sign : 338DD318A3727EA607B7D79EAF334977
         */

        private String appId;
        private String partnerId;
        private String prepayId;
        private String nonceStr;
        private String timeStamp;
        private String packageValue;
        private String sign;

        public String getAppId() {
            return appId;
        }

        public void setAppId(String appId) {
            this.appId = appId;
        }

        public String getPartnerId() {
            return partnerId;
        }

        public void setPartnerId(String partnerId) {
            this.partnerId = partnerId;
        }

        public String getPrepayId() {
            return prepayId;
        }

        public void setPrepayId(String prepayId) {
            this.prepayId = prepayId;
        }

        public String getNonceStr() {
            return nonceStr;
        }

        public void setNonceStr(String nonceStr) {
            this.nonceStr = nonceStr;
        }

        public String getTimeStamp() {
            return timeStamp;
        }

        public void setTimeStamp(String timeStamp) {
            this.timeStamp = timeStamp;
        }

        public String getPackageValue() {
            return packageValue;
        }

        public void setPackageValue(String packageValue) {
            this.packageValue = packageValue;
        }

        public String getSign() {
            return sign;
        }

        public void setSign(String sign) {
            this.sign = sign;
        }
    }
}
